home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1286 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: news.iag.net!news
  2. From: jatmon@iag.net (John R Buchan)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Borlands c/c++ compiler help!!
  5. Followup-To: comp.os.msdos.programmer
  6. Date: 12 Jan 1996 20:53:57 GMT
  7. Organization: Internet Access Group, Orlando, Florida
  8. Message-ID: <4d6hp5$g4r@news.iag.net>
  9. References: <4cu5f6$fg2@vector.wantree.com.au> <4d4hh2$s8o@linet02.li.net>
  10. NNTP-Posting-Host: pm1-orl25.iag.net
  11. X-Newsreader: WinVN 0.99.7
  12.  
  13. In article <4d4hh2$s8o@linet02.li.net>, bsilvern@li.net says...
  14. >
  15. >jpet@wantree.com.au (Jody Petroni) wrote:
  16. >
  17. >>Im writing a simple-intermediate application in C I have got a compiler 
  18. >>from Borlands which claims to be both for C and C++ .it installs as C++ 3.1
  19. >>but compiles my C code satisfactorily except for 2 errors:
  20. >
  21. >>1. "Group Overflowed Maximum size:DGROUP"
  22. >>2. "Call to function xyz with no prototype"
  23. >
  24. >>I have delcared all functions as either void or with their return type
  25. >>so I cant quite understand Error 2 . Error 1 is a mystery.
  26. >
  27. >>can anyone help!???
  28. >
  29. >Error  #1 sounds like you've declared too much static data.  The selected
  30. >memory model, found under: "Options,Project,16 Bit Compiler,MemoryModel"
  31. >determines the maximum allowed (either 64K or 1MB).  If you've selected Tiny,
  32. >Small or Medium, try using Compact, Large or Huge which will give you the 1MB
  33. >maximum.   Otherwise, declare any unitialized static data as far instead of 
  34. the
  35. >default near.  Alternatively, dynamically allocate any very large arrays with
  36. >functions such as malloc or GlobalAlloc.
  37. <snip>
  38.  
  39. The dos programmer faq (Frequently Asked Question) list has a good explanation
  40. of this error and its solutions (Q2.01).  It is available by anonymous ftp 
  41. from rtfm.mit.edu /pub/usenet/comp.os.msdos.programmer.
  42.  
  43. -- 
  44. John R Buchan           -:|:-     Looking for that elusive FAQ?  ftp to:
  45. jatmon@mail.iag.net     -:|:-     rtfm.mit.edu /pub/usenet-by-group/....
  46.  
  47.